package com.unohacha.qqj.fzdr;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.unohacha.qqj.fzdr.personal.view.activity.FeedbackActivity;
import com.unohacha.qqj.mylibrary.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class HelpActivity extends BaseActivity {

    @BindView(R.id.common_back)
    ImageView commonBack;
    @BindView(R.id.common_title)
    TextView commonTitle;
    @BindView(R.id.common_right_image)
    ImageView commonRightImage;
    @BindView(R.id.common_right_text)
    TextView commonRightText;
    @BindView(R.id.common_question)
    LinearLayout commonQuestion;
    @BindView(R.id.user_book)
    LinearLayout userBook;
    @BindView(R.id.register_protocol)
    LinearLayout registerProtocol;
    @BindView(R.id.idea_answer)
    LinearLayout ideaAnswer;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_help;
    }

    @Override
    protected void initView() {
        super.initView();
        commonTitle.setText("帮助与反馈");
        commonRightImage.setVisibility(View.INVISIBLE);
    }

    @OnClick({R.id.common_back, R.id.common_question, R.id.user_book, R.id.register_protocol, R.id.idea_answer})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.common_back:
                finish();
                break;
            case R.id.common_question:
                break;
            case R.id.user_book:
                break;
            case R.id.register_protocol:
                break;
            case R.id.idea_answer:
//                jumpToOtherActivity(this, FeedbackCommitActivity.class);
                jumpToOtherActivity(this, FeedbackActivity.class);
                break;
        }
    }

}
